﻿using System;
using SharpSqlAnalyzer.stmt.oracle;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000291 RID: 657
	public class TCompoundDmlTriggerClause : TParseTreeNode
	{
		// Token: 0x06001555 RID: 5461 RVA: 0x00325FC5 File Offset: 0x003241C5
		public override void init(object arg1)
		{
			this._dmlEventClause = (TDmlEventClause)arg1;
		}

		// Token: 0x06001556 RID: 5462 RVA: 0x00325FD4 File Offset: 0x003241D4
		public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)
		{
			if (psql is TPlsqlCreateTrigger)
			{
				TTable ttable = new TTable();
				ttable.TableType = ETableSource.objectname;
				ttable.TableName = this._dmlEventClause.TableName;
				psql.tables.addTable(ttable);
			}
		}

		// Token: 0x170003FF RID: 1023
		// (set) Token: 0x06001557 RID: 5463 RVA: 0x00326013 File Offset: 0x00324213
		public virtual TDmlEventClause DmlEventClause
		{
			set
			{
				this._dmlEventClause = value;
			}
		}

		// Token: 0x0400172D RID: 5933
		private TDmlEventClause _dmlEventClause;
	}
}
